package com.luban.hs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: hs
 * @Description:
 * @Date: Create in 21:59 2019/2/2
 */
@Controller
public class ExceptionController {
    @RequestMapping(value = "/exception.jsp",method = RequestMethod.GET)
    public String getUserView(){
        throw new RuntimeException("controller报出去的异常！");
    }
}
